import http from '@/http'
import { PageResponse } from '@/types'
import * as T from './types'

export const API_PRE = 'http://localhost:8080'

/**
 * 操作日志-分页查询
 */
export const getModuleAndTypeListApi = http.post<any, any>(`${API_PRE}/common/operationLog/getModuleAndTypeList`)


/**
 * 操作日志-分页查询
 */
export const selectOperationLogPageApi = http.post<T.OperationLogReq, PageResponse<T.OperationLogRes>>(`${API_PRE}/common/operationLog/page`)